#pragma once
#include<stdio.h>
#include<stdlib.h>
#define QUESIZE 32
typedef int qdatatype;

typedef struct queue_node_st {
	qdatatype data[QUESIZE];
	int head, tail;
}queue;

queue* qu_create();

int qu_isempty(queue*);

void qu_destroy(queue*);

void qu_travel(queue*);

int qu_enqueue(queue*,const qdatatype *data);

int qu_dequeue(queue*, qdatatype *data);

void qu_clear(queue*);
